<script setup lang="ts">
// 不处理类型
// const handleChange = (e) => {
//   console.log('111', e.target.value)
// }

// 类型处理
const handleChange = (e: Event) => {
  // const ipt = document.querySelector('input')
  console.log('111', (e.target as HTMLInputElement).value)
}
</script>

<template>
  <div class="app-page">
    app
    <input type="text" @change="handleChange" value="vue3很简单">

  </div>
</template>

<style lang="scss" scoped></style>
